package io.renren.modules.wms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * 订单
 * @TableName T01_ORDER_RELEASE
 */
@TableName(value ="TMSPRD.T01_ORDER_RELEASE")
@Data
public class OrderRelease implements Serializable {
    /**
     * id
     */
    @TableId(value = "ID")
    private Integer id;

    /**
     * model1
     */
    @TableField(value = "MODEL1")
    private String model1;

    /**
     * model2
     */
    @TableField(value = "MODEL2")
    private String model2;

    /**
     * model3
     */
    @TableField(value = "MODEL3")
    private String model3;

    /**
     * none/rule/order
     */
    @TableField(value = "SECTION_TYPE")
    private String sectionType;

    /**
     * 调度方式 :按段分配/按段行分配/运单分配/集包/不限制
     */
    @TableField(value = "ASSIGN_TYPE")
    private String assignType;

    /**
     * unit汇总规则（unit/product/box_type/one）
     */
    @TableField(value = "UNIT_GROUP_RULE")
    private String unitGroupRule;

    /**
     * 录入方式(manual/import/interface/release)
     */
    @TableField(value = "INPUT_TYPE")
    private String inputType;

    /**
     * Has Unit
     */
    @TableField(value = "HAS_UNIT")
    private Integer hasUnit;

    /**
     * 是否组托
     */
    @TableField(value = "PACK_PALLET")
    private Integer packPallet;

    /**
     * 是否系统组托
     */
    @TableField(value = "SYS_PACK_PALLET")
    private Integer sysPackPallet;

    /**
     * 自动发放确认
     */
    @TableField(value = "AUTO_RELEASE_CONFIRM")
    private Integer autoReleaseConfirm;

    /**
     * 自动审核确认
     */
    @TableField(value = "AUTO_CONFIRM")
    private Integer autoConfirm;

    /**
     * 分段规则优先
     */
    @TableField(value = "SECTION_RULE_FIRST")
    private Integer sectionRuleFirst;

    /**
     * 订单号
     */
    @TableField(value = "ORDER_NO1")
    private String orderNo1;

    /**
     * 客户单号
     */
    @TableField(value = "ORDER_NO2")
    private String orderNo2;

    /**
     * 发货单号
     */
    @TableField(value = "ORDER_NO3")
    private String orderNo3;

    /**
     * 订单号4
     */
    @TableField(value = "ORDER_NO4")
    private String orderNo4;

    /**
     * 订单号5
     */
    @TableField(value = "ORDER_NO5")
    private String orderNo5;

    /**
     * 订单类型1
     */
    @TableField(value = "ORDER_TYPE1")
    private String orderType1;

    /**
     * 订单类型2
     */
    @TableField(value = "ORDER_TYPE2")
    private String orderType2;

    /**
     * 订单类型3
     */
    @TableField(value = "ORDER_TYPE3")
    private String orderType3;

    /**
     * 订单类型4
     */
    @TableField(value = "ORDER_TYPE4")
    private String orderType4;

    /**
     * 订单类型5
     */
    @TableField(value = "ORDER_TYPE5")
    private String orderType5;

    /**
     * 订单状态
     */
    @TableField(value = "ORDER_STATUS")
    private String orderStatus;

    /**
     * 运输状态
     */
    @TableField(value = "TRANSPORT_STATUS")
    private String transportStatus;

    /**
     * 运输方式
     */
    @TableField(value = "TRANSPORT_TYPE")
    private String transportType;

    /**
     * 紧急度
     */
    @TableField(value = "URGENT_LEVEL")
    private String urgentLevel;

    /**
     * 下单日期
     */
    @TableField(value = "ORDER_DATE")
    private Date orderDate;

    /**
     * 项目
     */
    @TableField(value = "PROJECT")
    private Integer project;

    /**
     * 项目
     */
    @TableField(value = "PROJECT_NAME")
    private String projectName;

    /**
     * 车型
     */
    @TableField(value = "TRUCK_TYPE")
    private Integer truckType;

    /**
     * 车型
     */
    @TableField(value = "TRUCK_TYPE_NAME")
    private String truckTypeName;

    /**
     * 接单机构
     */
    @TableField(value = "ORGANIZATION")
    private Integer organization;

    /**
     * 下单机构
     */
    @TableField(value = "ORGANIZATION_NAME")
    private String organizationName;

    /**
     * 委托单位
     */
    @TableField(value = "CUSTOMER")
    private Integer customer;

    /**
     * 委托单位
     */
    @TableField(value = "CUSTOMER_NAME")
    private String customerName;

    /**
     * 发货单位
     */
    @TableField(value = "CONSIGNER")
    private Integer consigner;

    /**
     * 发货单位
     */
    @TableField(value = "CONSIGNER_NAME")
    private String consignerName;

    /**
     * 收货单位
     */
    @TableField(value = "CONSIGNEE")
    private Integer consignee;

    /**
     * 收货单位
     */
    @TableField(value = "CONSIGNEE_NAME")
    private String consigneeName;

    /**
     * 提货网点
     */
    @TableField(value = "PICKUP_NODE")
    private Integer pickupNode;

    /**
     * 提货网点
     */
    @TableField(value = "PICKUP_NODE_NAME")
    private String pickupNodeName;

    /**
     * 提货网点
     */
    @TableField(value = "PICKUP_NODE_CODE")
    private String pickupNodeCode;

    /**
     * 配送站点
     */
    @TableField(value = "DISPATCH_NODE")
    private Integer dispatchNode;

    /**
     * 配送站点
     */
    @TableField(value = "DISPATCH_NODE_NAME")
    private String dispatchNodeName;

    /**
     * 配送站点
     */
    @TableField(value = "DISPATCH_NODE_CODE")
    private String dispatchNodeCode;

    /**
     * 承运商
     */
    @TableField(value = "CARRIER")
    private Integer carrier;

    /**
     * 承运商
     */
    @TableField(value = "CARRIER_NAME")
    private String carrierName;

    /**
     * 发货地址
     */
    @TableField(value = "ORIGIN")
    private Integer origin;

    /**
     * 计划发货地址
     */
    @TableField(value = "PLAN_ORIGIN")
    private Integer planOrigin;

    /**
     * 发货地址代码
     */
    @TableField(value = "ORIGIN_CODE")
    private String originCode;

    /**
     * 计划发货地址代码
     */
    @TableField(value = "PLAN_ORIGIN_CODE")
    private String planOriginCode;

    /**
     * 发货地址
     */
    @TableField(value = "ORIGIN_NAME")
    private String originName;

    /**
     * 计划发货地址
     */
    @TableField(value = "PLAN_ORIGIN_NAME")
    private String planOriginName;

    /**
     * 发货区域
     */
    @TableField(value = "ORIGIN_ZONE")
    private Integer originZone;

    /**
     * 发货区域代码
     */
    @TableField(value = "ORIGIN_ZONE_CODE")
    private String originZoneCode;

    /**
     * 发货区域
     */
    @TableField(value = "ORIGIN_ZONE_NAME")
    private String originZoneName;

    /**
     * 国家代码
     */
    @TableField(value = "ORIGIN_COUNTRY_CODE")
    private String originCountryCode;

    /**
     * 国家
     */
    @TableField(value = "ORIGIN_COUNTRY")
    private String originCountry;

    /**
     * 省份代码
     */
    @TableField(value = "ORIGIN_PROVINCE_CODE")
    private String originProvinceCode;

    /**
     * 省份
     */
    @TableField(value = "ORIGIN_PROVINCE")
    private String originProvince;

    /**
     * 城市代码
     */
    @TableField(value = "ORIGIN_CITY_CODE")
    private String originCityCode;

    /**
     * 城市
     */
    @TableField(value = "ORIGIN_CITY")
    private String originCity;

    /**
     * 区县代码
     */
    @TableField(value = "ORIGIN_DISTRICT_CODE")
    private String originDistrictCode;

    /**
     * 区县
     */
    @TableField(value = "ORIGIN_DISTRICT")
    private String originDistrict;

    /**
     * 街道/镇代码
     */
    @TableField(value = "ORIGIN_TOWN_CODE")
    private String originTownCode;

    /**
     * 街道/镇
     */
    @TableField(value = "ORIGIN_TOWN")
    private String originTown;

    /**
     * 路名
     */
    @TableField(value = "ORIGIN_ROAD_NAME")
    private String originRoadName;

    /**
     * 号/弄
     */
    @TableField(value = "ORIGIN_ROAD_NUM")
    private Integer originRoadNum;

    /**
     * 栋
     */
    @TableField(value = "ORIGIN_BUILDING")
    private Integer originBuilding;

    /**
     * 楼
     */
    @TableField(value = "ORIGIN_FLOOR")
    private Integer originFloor;

    /**
     * 室
     */
    @TableField(value = "ORIGIN_DOOR")
    private String originDoor;

    /**
     * 有电梯
     */
    @TableField(value = "ORIGIN_HAS_ELEVATOR")
    private Integer originHasElevator;

    /**
     * 经度
     */
    @TableField(value = "ORIGIN_LONGITUDE")
    private BigDecimal originLongitude;

    /**
     * 纬度
     */
    @TableField(value = "ORIGIN_LATITUDE")
    private BigDecimal originLatitude;

    /**
     * 发货联系人
     */
    @TableField(value = "ORIGIN_CONTACT")
    private String originContact;

    /**
     * 计划发货联系人
     */
    @TableField(value = "PLAN_ORIGIN_CONTACT")
    private String planOriginContact;

    /**
     * 发货联系电话
     */
    @TableField(value = "ORIGIN_TEL")
    private String originTel;

    /**
     * 计划发货联系电话
     */
    @TableField(value = "PLAN_ORIGIN_TEL")
    private String planOriginTel;

    /**
     * 道口
     */
    @TableField(value = "ORIGIN_DOCK")
    private Integer originDock;

    /**
     * 道口
     */
    @TableField(value = "ORIGIN_DOCK_CODE")
    private String originDockCode;

    /**
     * 道口预约
     */
    @TableField(value = "ORIGIN_DOCK_BOOK")
    private Integer originDockBook;

    /**
     * 收货地址
     */
    @TableField(value = "DEST")
    private Integer dest;

    /**
     * 计划收货地址
     */
    @TableField(value = "PLAN_DEST")
    private Integer planDest;

    /**
     * 收货地址代码
     */
    @TableField(value = "DEST_CODE")
    private String destCode;

    /**
     * 计划收货地址代码
     */
    @TableField(value = "PLAN_DEST_CODE")
    private String planDestCode;

    /**
     * 收货地址
     */
    @TableField(value = "DEST_NAME")
    private String destName;

    /**
     * 计划收货地址
     */
    @TableField(value = "PLAN_DEST_NAME")
    private String planDestName;

    /**
     * 收货区域
     */
    @TableField(value = "DEST_ZONE")
    private Integer destZone;

    /**
     * 收货区域代码
     */
    @TableField(value = "DEST_ZONE_CODE")
    private String destZoneCode;

    /**
     * 收货区域
     */
    @TableField(value = "DEST_ZONE_NAME")
    private String destZoneName;

    /**
     * 国家代码
     */
    @TableField(value = "DEST_COUNTRY_CODE")
    private String destCountryCode;

    /**
     * 国家
     */
    @TableField(value = "DEST_COUNTRY")
    private String destCountry;

    /**
     * 省份代码
     */
    @TableField(value = "DEST_PROVINCE_CODE")
    private String destProvinceCode;

    /**
     * 省份
     */
    @TableField(value = "DEST_PROVINCE")
    private String destProvince;

    /**
     * 城市代码
     */
    @TableField(value = "DEST_CITY_CODE")
    private String destCityCode;

    /**
     * 城市
     */
    @TableField(value = "DEST_CITY")
    private String destCity;

    /**
     * 区县代码
     */
    @TableField(value = "DEST_DISTRICT_CODE")
    private String destDistrictCode;

    /**
     * 区县
     */
    @TableField(value = "DEST_DISTRICT")
    private String destDistrict;

    /**
     * 街道/镇代码
     */
    @TableField(value = "DEST_TOWN_CODE")
    private String destTownCode;

    /**
     * 街道/镇
     */
    @TableField(value = "DEST_TOWN")
    private String destTown;

    /**
     * 路名
     */
    @TableField(value = "DEST_ROAD_NAME")
    private String destRoadName;

    /**
     * 号/弄
     */
    @TableField(value = "DEST_ROAD_NUM")
    private Integer destRoadNum;

    /**
     * 栋
     */
    @TableField(value = "DEST_BUILDING")
    private Integer destBuilding;

    /**
     * 楼
     */
    @TableField(value = "DEST_FLOOR")
    private Integer destFloor;

    /**
     * 室
     */
    @TableField(value = "DEST_DOOR")
    private String destDoor;

    /**
     * 有电梯
     */
    @TableField(value = "DEST_HAS_ELEVATOR")
    private Integer destHasElevator;

    /**
     * 经度
     */
    @TableField(value = "DEST_LONGITUDE")
    private BigDecimal destLongitude;

    /**
     * 纬度
     */
    @TableField(value = "DEST_LATITUDE")
    private BigDecimal destLatitude;

    /**
     * 收货联系人
     */
    @TableField(value = "DEST_CONTACT")
    private String destContact;

    /**
     * 计划收货联系人
     */
    @TableField(value = "PLAN_DEST_CONTACT")
    private String planDestContact;

    /**
     * 收货联系电话
     */
    @TableField(value = "DEST_TEL")
    private String destTel;

    /**
     * 计划收货联系电话
     */
    @TableField(value = "PLAN_DEST_TEL")
    private String planDestTel;

    /**
     * 卸货道口
     */
    @TableField(value = "DEST_DOCK")
    private Integer destDock;

    /**
     * 卸货道口
     */
    @TableField(value = "DEST_DOCK_CODE")
    private String destDockCode;

    /**
     * 道口预约
     */
    @TableField(value = "DEST_DOCK_BOOK")
    private Integer destDockBook;

    /**
     * 整车订单
     */
    @TableField(value = "TO_SHIPMENT")
    private Integer toShipment;

    /**
     * 最早提货时间
     */
    @TableField(value = "EARLIEST_PICK_UP_TIME")
    private Date earliestPickUpTime;

    /**
     * 最晚提货时间
     */
    @TableField(value = "LATEST_PICK_UP_TIME")
    private Date latestPickUpTime;

    /**
     * 最早到货时间
     */
    @TableField(value = "EARLIEST_ARRIVAL_TIME")
    private Date earliestArrivalTime;

    /**
     * 最晚到货时间
     */
    @TableField(value = "LATEST_ARRIVAL_TIME")
    private Date latestArrivalTime;

    /**
     * 计划到达提货站点时间
     */
    @TableField(value = "PLAN_ARRIVAL_PICKUP_NODE")
    private Date planArrivalPickupNode;

    /**
     * 计划离开提货站点时间
     */
    @TableField(value = "PLAN_DEPARTURE_PICKUP_NODE")
    private Date planDeparturePickupNode;

    /**
     * 计划到达配送站点时间
     */
    @TableField(value = "PLAN_ARRIVAL_DISPATCH_NODE")
    private Date planArrivalDispatchNode;

    /**
     * 计划离开配送站点时间
     */
    @TableField(value = "PLAN_DEPARTURE_DISPATCH_NODE")
    private Date planDepartureDispatchNode;

    /**
     * 发放确认时间
     */
    @TableField(value = "RELEASE_TIME")
    private Date releaseTime;

    /**
     * 订单确认时间
     */
    @TableField(value = "CONFIRM_TIME")
    private Date confirmTime;

    /**
     * 发货时间
     */
    @TableField(value = "DEPARTURE_TIME")
    private Date departureTime;

    /**
     * 完成时间
     */
    @TableField(value = "FINISH_TIME")
    private Date finishTime;

    /**
     * 产品数量
     */
    @TableField(value = "ITEM_QTY")
    private BigDecimal itemQty;

    /**
     * 产品重量
     */
    @TableField(value = "ITEM_WEIGHT")
    private BigDecimal itemWeight;

    /**
     * 产品体积
     */
    @TableField(value = "ITEM_VOLUME")
    private BigDecimal itemVolume;

    /**
     * 运输数量
     */
    @TableField(value = "QTY")
    private BigDecimal qty;

    /**
     * 总箱数
     */
    @TableField(value = "BOX_QTY")
    private BigDecimal boxQty;

    /**
     * 未组托箱数
     */
    @TableField(value = "UNPALLET_BOXES")
    private BigDecimal unpalletBoxes;

    /**
     * 运输重量
     */
    @TableField(value = "WEIGHT")
    private BigDecimal weight;

    /**
     * 运输体积
     */
    @TableField(value = "VOLUME")
    private BigDecimal volume;

    /**
     * 货值
     */
    @TableField(value = "CARGO_VALUE")
    private BigDecimal cargoValue;

    /**
     * 计费数量
     */
    @TableField(value = "RATE_QTY")
    private BigDecimal rateQty;

    /**
     * 计费重量
     */
    @TableField(value = "RATE_WEIGHT")
    private BigDecimal rateWeight;

    /**
     * 计费体积
     */
    @TableField(value = "RATE_VOLUME")
    private BigDecimal rateVolume;

    /**
     * 计费标识
     */
    @TableField(value = "RATE1")
    private String rate1;

    /**
     * 计费标识
     */
    @TableField(value = "RATE2")
    private String rate2;

    /**
     * 计费标识
     */
    @TableField(value = "RATE3")
    private String rate3;

    /**
     * 计费标识
     */
    @TableField(value = "RATE4")
    private String rate4;

    /**
     * 结算期间
     */
    @TableField(value = "BALANCE_DATE")
    private Date balanceDate;

    /**
     * 路线
     */
    @TableField(value = "LANE")
    private Integer lane;

    /**
     * 业务员
     */
    @TableField(value = "SALE_USER")
    private Integer saleUser;

    /**
     * 基础订单
     */
    @TableField(value = "ORDER_BASE")
    private Integer orderBase;

    /**
     * 序号
     */
    @TableField(value = "RELEASE_NUM")
    private Integer releaseNum;

    /**
     * 上级订单
     */
    @TableField(value = "PARENT_ORDER_RELEASE")
    private Integer parentOrderRelease;

    /**
     * 是否父订单
     */
    @TableField(value = "IS_PARENT")
    private Integer isParent;

    /**
     * 是否子订单
     */
    @TableField(value = "IS_SUB")
    private Integer isSub;

    /**
     * 发货仓库代码
     */
    @TableField(value = "SOURCE_WAREHOUSE_CODE")
    private String sourceWarehouseCode;

    /**
     * 发货仓库
     */
    @TableField(value = "SOURCE_WAREHOUSE")
    private String sourceWarehouse;

    /**
     * 收货方代码
     */
    @TableField(value = "RECEIVE_CODE")
    private String receiveCode;

    /**
     * 收货方
     */
    @TableField(value = "RECEIVE_WAREHOUSE")
    private String receiveWarehouse;

    /**
     * 办事处代码
     */
    @TableField(value = "AGENCY_CODE")
    private String agencyCode;

    /**
     * 办事处名称
     */
    @TableField(value = "AGENCY_NAME")
    private String agencyName;

    /**
     * 收货单位
     */
    @TableField(value = "RECEIVE_DEALERNAME")
    private String receiveDealername;

    /**
     * 部门
     */
    @TableField(value = "DEPARTMENT")
    private String department;

    /**
     * 制单人
     */
    @TableField(value = "MAKER")
    private String maker;

    /**
     * 发货日期
     */
    @TableField(value = "DELIVERY_DATE")
    private Date deliveryDate;

    /**
     * 业务日期
     */
    @TableField(value = "BUSINESS_DATE")
    private Date businessDate;

    /**
     * 上市许可持有人
     */
    @TableField(value = "PERMIT_HOLDER")
    private String permitHolder;

    /**
     * 生产厂家
     */
    @TableField(value = "PRODUCTION_FACTORY")
    private String productionFactory;

    /**
     * 剂型
     */
    @TableField(value = "DRUG_FORM")
    private String drugForm;

    /**
     * 批准文号
     */
    @TableField(value = "APPROVAL_NUMBER")
    private String approvalNumber;

    /**
     * 单位
     */
    @TableField(value = "UNIT")
    private String unit;

    /**
     * 生产日期
     */
    @TableField(value = "PRODUCTION_DATE")
    private Date productionDate;

    /**
     * 失效时间
     */
    @TableField(value = "EXPIRE_DATE")
    private Date expireDate;

    /**
     * 生产编号
     */
    @TableField(value = "PRODUCTION_NO")
    private String productionNo;

    /**
     * 申请编号
     */
    @TableField(value = "APPLY_NO")
    private String applyNo;

    /**
     * 配送区域
     */
    @TableField(value = "DISTRIBUTION_AREA")
    private String distributionArea;

    /**
     * 行号
     */
    @TableField(value = "LINE_NO")
    private String lineNo;

    /**
     * 路线
     */
    @TableField(value = "ROUTE")
    private String route;

    /**
     * 业务员
     */
    @TableField(value = "SALESMAN")
    private String salesman;

    /**
     * 捆绑标识
     */
    @TableField(value = "SPLIT_COMBINE_FLAG")
    private String splitCombineFlag;

    /**
     * 计费里程
     */
    @TableField(value = "MILEAGE")
    private BigDecimal mileage;

    /**
     * 当前位置
     */
    @TableField(value = "CURRENT_ADDRESS")
    private String currentAddress;

    /**
     * 到货时间
     */
    @TableField(value = "ARRIVAL_TIME")
    private Date arrivalTime;

    /**
     * 签收时间
     */
    @TableField(value = "SIGN_TIME")
    private Date signTime;

    /**
     * 实际签收数量
     */
    @TableField(value = "ACTUAL_SIGN_QTY")
    private BigDecimal actualSignQty;

    /**
     * Domain Name
     */
    @TableField(value = "DOMAIN_NAME")
    private String domainName;

    /**
     * version
     */
    @TableField(value = "VERSION")
    private Integer version;

    /**
     * Insert User
     */
    @TableField(value = "INSERT_USER")
    private String insertUser;

    /**
     * Insert Date
     */
    @TableField(value = "INSERT_DATE")
    private Date insertDate;

    /**
     * Update User
     */
    @TableField(value = "UPDATE_USER")
    private String updateUser;

    /**
     * Update Date
     */
    @TableField(value = "UPDATE_DATE")
    private Date updateDate;

    /**
     * 下单机构代码
     */
    @TableField(value = "ORGANIZATION_CODE")
    private String organizationCode;

    /**
     * 订单类型编码
     */
    @TableField(value = "ORDER_TYPE_CODE")
    private String orderTypeCode;

    /**
     * 实际发货数量
     */
    @TableField(value = "ACTUAL_QTY")
    private BigDecimal actualQty;

    /**
     * 商务员代码
     */
    @TableField(value = "BUSINESS_CODE")
    private String businessCode;

    /**
     * 业务员代码
     */
    @TableField(value = "SALES_CODE")
    private String salesCode;

    /**
     * 商务员
     */
    @TableField(value = "BUSINESS_MAN")
    private String businessMan;

    /**
     * 销售出库单打印次数
     */
    @TableField(value = "PRINT_NUM1")
    private Integer printNum1;

    /**
     * 调拨出库单打印次数
     */
    @TableField(value = "PRINT_NUM2")
    private Integer printNum2;

    /**
     * 发车确认操作人
     */
    @TableField(value = "USER_NAME")
    private String userName;

    /**
     * 用户号
     */
    @TableField(value = "USER_NAME2")
    private String userName2;

    /**
     * 备注
     */
    @TableField(value = "REMARK")
    private String remark;

    /**
     * 备注2
     */
    @TableField(value = "REMARK2")
    private String remark2;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}